package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcWatchDataSleep;
import com.csun.cmny.provider.model.dto.watch.WatchSleepQueryDto;
import com.csun.cmny.provider.model.vo.watch.WatchSleepDayVo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-24 15:01
 * @Description: the interface dmc watch data sleep service
 */
public interface DmcWatchDataSleepService extends IService<DmcWatchDataSleep> {

    /**
     * query hist sleep with day
     *
     * @param watchSleepQueryDto    watch sleep query dto
     *
     * @return  the watch sleep day vo
     */
    WatchSleepDayVo queryHistSleepWithDay(WatchSleepQueryDto watchSleepQueryDto);

    /**
     * 删除睡眠数据
     *
     * @param deviceId  the device id
     *
     * @return  the int.
     */
    Integer removeDmcWatchDataSleep(Long deviceId);
}
